/*
* 待办项统计
* */

const state = {
  flowCount: 0,
  messageCount: 0,
  trainCount:0
}

const mutations = {
  FLOW_COUNT: (state, value) => {
    state.flowCount = value
  },
  MESSAGE_COUNT: (state, value) => {
    state.messageCount = value
  },
  TRAIN_COUNT: (state, value) => {
    state.trainCount=value
  },
  SUM_UP_COUNT: (state, value) => {
    state.sumUpCount=value
  }
}

export default {
  namespaced: true,
  state,
  mutations,
}
